export interface loginAuth {
  module: string;
  items: Array<loginAuth>;
}

type authList = Array<loginAuth>;

export interface loginRes {
  code: string;
  data: {
    orgName: string;
    token: string;
    userAvator: string;
    userName: string;
    auth: authList;
  };
}
export interface ReqLoginForm {
  username: string;
  password: string;
}

export interface ReqLoginPCForm {
  phone: string;
  code: string;
}

export interface ResOptToken {
  token: string;
}

export interface ResLogin {
  token: string;
}
